package Game;

import java.awt.Graphics2D;
import java.awt.event.KeyEvent;


public class SpaceInvadersOpening extends Scene
{
	private Background background;
		
	public SpaceInvadersOpening()
	{
		background = new Background(0, 0, 800, 600);
		background.Load("/Imagens/SpaceInvadersOpening.png");
	}
	
	@Override
	public void draw(Graphics2D g2d)
	{
		background.Draw(g2d);
	};

	@Override
	public void update(InputManager input) 
	{
		if (input.ChecarTecla(KeyEvent.VK_ENTER))
			SceneManager.MudarCena();
	};

}